home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3w / ufmGetFontPath.z / ufmGetFontPath
Encoding:
Text File  |  1998-10-20  |  3.9 KB  |  67 lines

  1.  
  2.  
  3.  
  4. uuuuffffmmmmGGGGeeeettttFFFFoooonnnnttttPPPPaaaatttthhhh((((3333wwww))))                                          uuuuffffmmmmGGGGeeeettttFFFFoooonnnnttttPPPPaaaatttthhhh((((3333wwww))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _uuuu_ffff_mmmm_GGGG_eeee_tttt_FFFF_oooo_nnnn_tttt_PPPP_aaaa_tttt_hhhh - get the current UFM font path
  10.  
  11. CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_uuuu_ffff_mmmm_...._hhhh_>>>>
  13.  
  14.      _iiii_nnnn_tttt _uuuu_ffff_mmmm_GGGG_eeee_tttt_FFFF_oooo_nnnn_tttt_PPPP_aaaa_tttt_hhhh_((((_cccc_hhhh_aaaa_rrrr _****_****_ffff_oooo_nnnn_tttt_PPPP_aaaa_tttt_hhhh_))))
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      _uuuu_ffff_mmmm_GGGG_eeee_tttt_FFFF_oooo_nnnn_tttt_PPPP_aaaa_tttt_hhhh gets the current Universal Font Manager (UFM) font path.
  18.  
  19.      _uuuu_ffff_mmmm_GGGG_eeee_tttt_FFFF_oooo_nnnn_tttt_PPPP_aaaa_tttt_hhhh uses the argument _f_o_n_t_P_a_t_h to return a pointer to a null-
  20.      terminated character string that represents the current UFM font path.
  21.      That path is used by UFM to find font files.  If an error is detected,
  22.      _uuuu_ffff_mmmm_GGGG_eeee_tttt_FFFF_oooo_nnnn_tttt_PPPP_aaaa_tttt_hhhh sets that pointer to NULL.
  23.  
  24.      The UFM font path contains one or more full-path names of font
  25.      directories.  On platforms with the X Window System, each specified
  26.      directory must exist, and it must contain a _f_o_n_t_s._d_i_r file (a directory
  27.      of font files).  If there is more than one full-path directory name, put
  28.      a comma (,) after each directory name, except the last one.  UFM searches
  29.      font directories in the order in which they are specified in the font
  30.      path.
  31.  
  32.      There is a default UFM font path.  The default UFM font path can be
  33.      changed by calling the function _uuuu_ffff_mmmm_SSSS_eeee_tttt_FFFF_oooo_nnnn_tttt_PPPP_aaaa_tttt_hhhh.  When your program is
  34.      finished with the UFM font path, it can call the function _uuuu_ffff_mmmm_FFFF_rrrr_eeee_eeee with
  35.      the pointer _f_o_n_t_P_a_t_h.  _uuuu_ffff_mmmm_FFFF_rrrr_eeee_eeee will free the memory which was allocated
  36.      for a copy of the UFM font path.
  37.  
  38. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  39.      ufmFree(3w), ufmSetFontPath(3w).
  40.  
  41. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  42.      If _uuuu_ffff_mmmm_GGGG_eeee_tttt_FFFF_oooo_nnnn_tttt_PPPP_aaaa_tttt_hhhh is not able to allocate the memory it needs, it will
  43.      return the value _UUUU_FFFF_MMMM______OOOO_UUUU_TTTT______OOOO_FFFF______MMMM_EEEE_MMMM_OOOO_RRRR_YYYY.  Else, it returns the value
  44.      _UUUU_FFFF_MMMM______NNNN_OOOO______EEEE_RRRR_RRRR_OOOO_RRRR.  _UUUU_FFFF_MMMM______OOOO_UUUU_TTTT______OOOO_FFFF______MMMM_EEEE_MMMM_OOOO_RRRR_YYYY and _UUUU_FFFF_MMMM______NNNN_OOOO______EEEE_RRRR_RRRR_OOOO_RRRR are defined in the
  45.      header file <_u_f_m._h>.
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.